import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
// 定义路由配置
let routes = []
let concat = (router) => {
  routes = routes.concat(router)
}
// // 导入路由规则
import HomeRouter from '@/module/home/router'
import CmsRouter from '@/module/cms/router'
import WorkRouter from '@/module/work/router'
import ShowRouter from '@/module/show/router'
import LoginRouter from '@/module/login/router'
// 合并路由规则
concat(HomeRouter)
concat(CmsRouter)   //加入cms模块的路由
concat(WorkRouter)   //加入流水线业务模水线业务块的路由
concat(ShowRouter)   //加入可视化模块的路由
concat(LoginRouter)   //加入登录的路由
export default routes;
